Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Simplify structure of aer.noise and aer.utils modules #568

Merged
merged 8 commits into from
Jan 31, 2020

Conversation

chriseclectic
Copy link
Member

@chriseclectic chriseclectic commented Jan 31, 2020

Summary

Move the contents of aer.noise.utils and the backend parameter helper functions in aer.noise.device.parameters into aer.utils.

Partially fix for issue #564

Details and comments

Maintains access from the old locations but will raise a deprecation warning if the functions are called from the old location.

Also deprecates the old qobj_utils functions. Proper circuit instructions should now be used instead of these.

* Change the max shots value of the statevector and unitary simulator from 1 to 1e6. This is so an exception isnt raised if these backends are called with default number of shots. Note that htese backends will only perform a single shot simulation regardless of the value of shots in the qobj.
@chriseclectic chriseclectic changed the title Move noise utility functions to aer.utils module Simplify structure of aer.noise and aer.utils modules Jan 31, 2020
@chriseclectic chriseclectic merged commit f9f1ad2 into Qiskit:master Jan 31, 2020
@chriseclectic chriseclectic deleted the move-noise-utils branch April 28, 2020 19:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant